import 'package:gluz/generated/json/base/json_field.dart';
import 'package:gluz/generated/json/area_entity.g.dart';
import 'dart:convert';
export 'package:gluz/generated/json/area_entity.g.dart';

@JsonSerializable()
class AreaEntity {
	late int country;
	late int id;
	late int level;
	late String mergename;
	late String name;
	late int pid;
	late String shortname;

	AreaEntity();

	factory AreaEntity.fromJson(Map<String, dynamic> json) => $AreaEntityFromJson(json);

	Map<String, dynamic> toJson() => $AreaEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}